package com.monco.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.monco.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author com/monco
 * @since 2020-04-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_rubbish_record")
@ApiModel(value="RubbishRecord对象", description="")
public class RubbishRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "数量")
    private Integer rubbishAmount;

    @ApiModelProperty(value = "积分")
    private Integer rubbishScore;

    @ApiModelProperty(value = "总积分")
    private Integer totalScore;

    @ApiModelProperty(value = "垃圾类型")
    private String rubbishType;

    @ApiModelProperty(value = "绑定用户id")
    private Long userId;

    @ApiModelProperty(value = "绑定垃圾id")
    private Long rubbishId;

    @ApiModelProperty(value = "垃圾名称")
    private String rubbishName;


}
